next
Round
Technologies
Saved
Contribute
Login
next
Round
Technologies
Saved
Contribute
Login
Question Loading...
Basics
Event Loop
Buffers
Streams
Events
Time functions
Clusters
Crypto
Modules
Worker Threads
File Operations
Threads
Performance Optimisation
Websockets
All Topics
5th of 16 Questions.
How can you delete a file in Node.js?
You can delete a file in Node.js using the
fs.unlink()
method. Here's an example: